package com.hibase.core.oss.constant;

/**
 * 常量类
 *
 * @author hufeng
 * @date 2019/03/22
 */
public class AttaConstant {

    private AttaConstant(){

    }

    /**
     * 上传文件白名单
     */
    public static final String UPLOAD_WHITE_TYPE = ".jpg,.jpeg,.png,.gif,.pdf,.bmp,.xlsx,.xls,.txt,.docx,.doc,.pptx,.ppt,.zpl";

    /**
     * 转pdf文件
     */
    public static final String CONVERT_PDF_TYPE = "xlsx,xls,txt,docx,doc,pptx,ppt";

    public static final String CONVERT_PDF_NAME = "_convertpdf";

    /**
     * 附件来源：tms
     */
    public static final String FILE_SOURCE_EMS = "EMS";

    /**
     * 返回值：id
     */
    public static final String RESULT_CONSTANT_ID = "id";

    /**
     * 状态：启用
     */
    public static final boolean BE_ACTIVE_ENABLE = true;

    /**
     * 状态：禁用
     */
    public static final boolean BE_ACTIVE_DISABLED = false;
}
